const express = require('express')
const router = express.Router()
// 导入路由处理模块
const carOwner = require('../router_handel/carOwner')

// 获取车主列表
router.post('/carOwnerList', carOwner.carOwnerList)
// 获取所有车主列表
router.post('/carOwnerListAll', carOwner.carOwnerListAll)

// 添加车主信息
router.post('/carOwnerAdd', carOwner.carOwnerAdd)
// 删除车主信息
router.post('/carOwnerDelete', carOwner.carOwnerDelete)
// 修改车主信息
router.post('/carOwnerchange', carOwner.carOwnerchange)
// 车主搜索
router.post('/carOwnerSerach', carOwner.carOwnerSerach)
// 车主导出
router.post('/carOwnerCreateExcel', carOwner.carOwnerCreateExcel)
// 车主质保列表
router.post('/carOwnerQualityList', carOwner.carOwnerQualityList)
// 导出车主质保表格
router.post('/carOwnerQualityCreateExcel', carOwner.carOwnerQualityCreateExcel)
// 搜索质保信息
router.post('/carOwnerQualitySerach', carOwner.carOwnerQualitySerach)
// 获取车主保险列表
router.post('/carOwnerInsuranceList', carOwner.carOwnerInsuranceList)
// 添加车主保险
router.post('/carOwnerInsuranceAdd', carOwner.carOwnerInsuranceAdd)
// 修改车主保险
router.post('/carOwnerInsuranceChange', carOwner.carOwnerInsuranceChange)
// 删除车主保险
router.post('/carOwnerInsuranceDelete', carOwner.carOwnerInsuranceDelete)
// 导出保险表格
router.post('/carOwnerInsuranceCreateExcel', carOwner.carOwnerInsuranceCreateExcel)
// 车衣保险搜索
router.post('/carOwnerInsuranceSerach', carOwner.carOwnerInsuranceSerach)
// 暴露路由
module.exports = router